package com.lixinxin.benbenlove.db.data

import androidx.room.ColumnInfo
import androidx.room.Entity
import androidx.room.PrimaryKey

@Entity(tableName = "tb_note")
data class NoteData(
    @PrimaryKey(autoGenerate = true) val id: Int,
    @ColumnInfo(name = "note_id") val noteId: Int,
    @ColumnInfo(name = "note_title") val noteTitle: String,
    @ColumnInfo(name = "note_desc") val noteDesc: String,
    @ColumnInfo(name = "create_date") val createDate: Long,
    @ColumnInfo(name = "update_date") val updateDate: Long
)